package com.service.sys;

import com.baomidou.mybatisplus.extension.service.IService;
import com.vo.sys.NewPassParam;
import com.vo.sys.UserExceptSelfVo;
import com.vo.sys.UserVo;

import java.util.List;

public interface UserVoService extends IService<UserVo> {

    UserVo getByUserName(String username);

    boolean updateByPrimary(UserVo userVo);

    List<UserExceptSelfVo> getUserVos(String username);

    /**
     * 修改密码
     * @param newPasswordParam
     * @return
     */
    Boolean changePassword(NewPassParam newPasswordParam);

    /**
     * 模糊查询用户的信息
     */
    List<UserExceptSelfVo> getUserVosByLike(String username,String inputName);
}
